package com.huixue.cn.ztej.dao;

import java.util.List;
import java.util.Map;

import com.huixue.cn.ztej.bean.TQuestionsInfo;
import com.huixue.cn.ztej.utils.annotation.MyBatisRepository;

@MyBatisRepository
public interface TQuestionsInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TQuestionsInfo record);

    int insertSelective(TQuestionsInfo record);

    TQuestionsInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TQuestionsInfo record);

    int updateByPrimaryKey(TQuestionsInfo record);
    
    public List<TQuestionsInfo> searchByPage(Map<String,Object> searchParams);
    
    public int explanation(TQuestionsInfo record);
    
    public Long findQuestionsNumber(Map<String,Object> map);
    
    public Long findPushQuestionsNumber(Integer studentId);
}